Alma\Woocommerce\Gateways\AlmaPaymentGateway A

Total Complexity 72
Dependencies 32
Dependents 0
Total lines 786
Lines of code 395
Logical lines of code 211
Comment lines 269
Methods 23
Properties 21

Methods 23

Method Rating Maintainability Complexity Lines of code
is_available()
A
47 14 36
process_admin_options()
S
50 6 28
clean_credentials()
S
59 6 15
generate_text_alma_i18n_html()
S
44 3 54
init_admin_form()
S
55 5 19
validate_fields()
S
52 4 28
init_settings()
S
63 5 10
convert_amounts_to_cents()
S
60 4 13
__construct()
S
46 2 38
generate_title_html()
S
50 2 32
process_payment()
S
57 2 16
encrypt_keys()
S
66 3 9
init_alma_client()
S
61 2 13
manage_credentials()
S
60 2 13
generate_select_alma_fee_plan_html()
S
60 1 17
check_activation()
S
63 2 10
init_alma_merchant()
S
67 2 8
add_filters()
S
60 1 15
get_option()
S
68 2 7
get_icon()
S
79 1 3
init_form_fields()
S
72 1 5
get_option_key()
S
82 1 3
has_fields()
S
82 1 3